/**
 * Copyright (c) 2011 Tomi Paananen.
 *
 * Part of Quick Gestures engine library.
 */

#ifndef __CLASSIFIERIF_H__
#define __CLASSIFIERIF_H__

// Forward declarations
class Gesture;


/*!
  \class ClassifierIf
  \brief An abstract base class for classifiers.
*/


class ClassifierIf
{
public:

    /*!
      Compares gestures \a gesture and \a candidate. Returns the difference of
      the given gestures.
    */
    virtual int compare(Gesture *gesture, Gesture *candidate) = 0;

    /*!
      Returns the threshold value of successful recognition i.e. the maximum
      accepted difference between compared gestures.
    */
    virtual int recognitionThreshold() = 0;
};


#endif /* __CLASSIFIER_H__ */

// End of file.
